package com.yunfeisoft.business.dao.inter;

import com.applet.base.BaseDao;
import com.yunfeisoft.business.model.PmsProduct;
import com.yunfeisoft.business.model.SmsHomeNewProduct;
import com.applet.utils.Page;

import java.util.List;
import java.util.Map;

/**
 * ClassName: SmsHomeNewProductDao
 * Description: 新鲜好物表Dao
 * Author: Jackie liu
 * Date: 2020-06-02
 */
public interface SmsHomeNewProductDao extends BaseDao<SmsHomeNewProduct, String> {

    public Page<SmsHomeNewProduct> queryPage(Map<String, Object> params);

    List<SmsHomeNewProduct> queryByProductId(String productId);

    Page<SmsHomeNewProduct> queryHomeNewProductPage(Map<String, Object> params);

    List<SmsHomeNewProduct> queryHomeNewProductIndex(int limit);
}